package com.ateam.dao;

import java.util.List;

import com.ateam.pojo.Companies;

/** 
* @author WuYuan
* 
*/
public interface CompaniesDao {
	public int addCompany(Companies company)throws Exception;
	public Companies getCompanyByUserid(int userid)throws Exception;
	public List<Companies> getAllCompanies()throws Exception;
	public int addUserCompany(int companyid, int userid, int adopt)throws Exception;
	public int updateUserCompany(int companyid, int userid, int adopt)throws Exception;
}
